package ch.netcetera.planningpoker.client.ui.card;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HasText;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;

public class CardView extends Composite {

    private static CardViewUiBinder uiBinder = GWT
            .create(CardViewUiBinder.class);

    interface CardViewUiBinder extends UiBinder<Widget, CardView> {
    }
    
    @UiField
    Label participantName;

    public CardView() {
        initWidget(uiBinder.createAndBindUi(this));
    }
    
    public HasText getParticipantName() {
        return participantName;
    }

}
